package com.lzs.bootsafety.business.logs.mapper;

import com.github.pagehelper.Page;
import com.lzs.bootsafety.business.logs.entity.SysExc;
import com.lzs.bootsafety.business.logs.entity.SysExcWithBLOBs;
import org.springframework.stereotype.Repository;

/**
 * @author  zhanshi Liu
 * @date    2020/04/15
 * @website www.jhmsona.cn
 */
@Repository
public interface SysExcMapper {
    int deleteByPrimaryKey(Long excId);

    int insert(SysExcWithBLOBs record);

    /**
     * 异常日志
     * @param record
     * @return
     */
    int insertSelective(SysExc record);

    /**
     * 查看异常详情
     * @param excId
     * @return
     */
    SysExc selectByPrimaryKey(Long excId);

    /**
     * 分页查询异常
     * @param sysExc
     * @return
     */
    Page<SysExc> selectSysExc(SysExc sysExc);

    int updateByPrimaryKeySelective(SysExcWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(SysExcWithBLOBs record);

    int updateByPrimaryKey(SysExc record);
}